#! /bin/bash

set -e
set -x

# Ensure the script is executed in this directory
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd $DIR

wclean libso src/boundaryConditions
wclean libso src/fvSchemes
wclean libso src/fsi
wclean libso src/RBFMeshMotionSolver
wclean libso src/SRFModelAbs
wclean libso src/extraSolidBodyMotion
wclean applications/utilities/addInitialRandomVelocity
wclean applications/solvers/consistentSolvers/consistentIcoFoam
wclean applications/solvers/consistentSolvers/consistentPimpleDyMFoam
wclean applications/solvers/consistentSolvers/consistentPimpleFoam
wclean applications/solvers/consistentSolvers/consistentSimpleFoam
wclean applications/solvers/consistentSolvers/consistentSimpleSRFAbsFoam
wclean applications/solvers/unsteadyPUCoupledFoam
wclean applications/solvers/fsi/fsiFoam
wclean applications/solvers/fsi/fluidFoam
wclean applications/solvers/fsi/solidFoam
wclean applications/solvers/fsi/fsiFluidFoam
wclean applications/solvers/fsi/fsiSolidFoam
wclean src/tests/testsuite-dealii
wclean src/tests/testsuite-fsi
wclean src/tests/testsuite-rbf
wclean src/tests/testsuite-sdc
wclean src/tests/testsuite-sdc-fsi
wclean src/tests/testsuite-spacemapping
wclean src/tests/tubeflow
wclean src/tests/tubeflow-sdc
wclean src/tests/tubeflow-sdc-solid
wclean src/tests/tubeflow-sdc-bdf-solid
wclean src/tests/tubeflow-sdc-rk4-solid
